package com.yx.musicplayer.greendao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by yx on 2017/11/6 0006.
 */
@Entity
public class RecentSong {
    @Id
    public  long albumId;
    public  String albumName;
    public  long artistId;
    public  String artistName;
    public  int duration;
    public  long id;
    public  String title;
    public  int trackNumber;
    public float playCountScore;
    public  String path;
    @Generated(hash = 988126295)
    public RecentSong(long albumId, String albumName, long artistId,
            String artistName, int duration, long id, String title, int trackNumber,
            float playCountScore, String path) {
        this.albumId = albumId;
        this.albumName = albumName;
        this.artistId = artistId;
        this.artistName = artistName;
        this.duration = duration;
        this.id = id;
        this.title = title;
        this.trackNumber = trackNumber;
        this.playCountScore = playCountScore;
        this.path = path;
    }
    @Generated(hash = 1369659950)
    public RecentSong() {
    }
    public long getAlbumId() {
        return this.albumId;
    }
    public void setAlbumId(long albumId) {
        this.albumId = albumId;
    }
    public String getAlbumName() {
        return this.albumName;
    }
    public void setAlbumName(String albumName) {
        this.albumName = albumName;
    }
    public long getArtistId() {
        return this.artistId;
    }
    public void setArtistId(long artistId) {
        this.artistId = artistId;
    }
    public String getArtistName() {
        return this.artistName;
    }
    public void setArtistName(String artistName) {
        this.artistName = artistName;
    }
    public int getDuration() {
        return this.duration;
    }
    public void setDuration(int duration) {
        this.duration = duration;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public int getTrackNumber() {
        return this.trackNumber;
    }
    public void setTrackNumber(int trackNumber) {
        this.trackNumber = trackNumber;
    }
    public float getPlayCountScore() {
        return this.playCountScore;
    }
    public void setPlayCountScore(float playCountScore) {
        this.playCountScore = playCountScore;
    }
    public String getPath() {
        return this.path;
    }
    public void setPath(String path) {
        this.path = path;
    }
}
